package com.ruoyi.rycc.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专题管理对象 cc_subject
 * 
 * @author antg
 * @date 2021-08-28
 */
public class CcSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id */
    private Integer id;

    /** 专题名称 */
    @Excel(name = "专题名称")
    private String subjectName;

    /** 专题描述 */
    @Excel(name = "专题描述")
    private String subjectDesc;

    /** 专题banner图 */
    private String subjectBanner;

    /** 是否启用(0:启用1:未启用) */
    @Excel(name = "是否启用(0:启用1:未启用)")
    private String subjectIfEnable;

    /** 删除标志(0:未删除1:已删除) */
    private String delState;

    /** 删除人 */
    private String deleteBy;

    /** 删除时间 */
    private Date deleteTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }
    public void setSubjectDesc(String subjectDesc) 
    {
        this.subjectDesc = subjectDesc;
    }

    public String getSubjectDesc() 
    {
        return subjectDesc;
    }
    public void setSubjectBanner(String subjectBanner) 
    {
        this.subjectBanner = subjectBanner;
    }

    public String getSubjectBanner() 
    {
        return subjectBanner;
    }
    public void setSubjectIfEnable(String subjectIfEnable) 
    {
        this.subjectIfEnable = subjectIfEnable;
    }

    public String getSubjectIfEnable() 
    {
        return subjectIfEnable;
    }
    public void setDelState(String delState) 
    {
        this.delState = delState;
    }

    public String getDelState() 
    {
        return delState;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectName", getSubjectName())
            .append("subjectDesc", getSubjectDesc())
            .append("subjectBanner", getSubjectBanner())
            .append("remark", getRemark())
            .append("subjectIfEnable", getSubjectIfEnable())
            .append("delState", getDelState())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
